<?php
    include_once('Configs/database.php');
   
    class LoaiNhomTH extends database{
        public function themLoaiNhomTH($maloai,$thoigianapdung,$mota,$heso){
			$this->setQuery("insert into LoaiNhomThucHanh(maloai,thoigianapdung,mota,heso) values(".$maloai.",'".$thoigianapdung."','".$mota."',".$heso.")");
            return $this->executeQuery();
		}
        public function dsLoaiNhomTH(){
            $this->setQuery("select * from LoaiNhomTH order by mota asc");
            return $this->fetchAll();
        }
        
        
    }
?>